package cn.mzcode.xyzpfuwuduan.pojo;

import com.fasterxml.jackson.annotation.JsonFilter;
import org.springframework.format.annotation.DateTimeFormat;

import java.text.Format;
import java.util.Date;

public class Position {
    private Integer id;

    private String positionName;

    private String salary;

    private String positionNumber;

    private String company;

    private String workplace;

    private String types;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
   // @JsonField(format="yyyy-MM-dd")
    private Date times;

    private Integer recruitmentType;

    private String recruitmentLocation;

    private String contact;

    private String contactPhone;

    private String email;

    private String froms;

    private String status;

    private String describeAndRequire;

    public Position(Integer id, String positionName, String salary, String positionNumber, String company, String workplace, String types, Date times, Integer recruitmentType, String recruitmentLocation, String contact, String contactPhone, String email, String froms, String status, String describeAndRequire) {
        this.id = id;
        this.positionName = positionName;
        this.salary = salary;
        this.positionNumber = positionNumber;
        this.company = company;
        this.workplace = workplace;
        this.types = types;
        this.times = times;
        this.recruitmentType = recruitmentType;
        this.recruitmentLocation = recruitmentLocation;
        this.contact = contact;
        this.contactPhone = contactPhone;
        this.email = email;
        this.froms = froms;
        this.status = status;
        this.describeAndRequire = describeAndRequire;
    }

    public Position() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPositionName() {
        return positionName;
    }

    public void setPositionName(String positionName) {
        this.positionName = positionName == null ? null : positionName.trim();
    }

    public String getSalary() {
        return salary;
    }

    public void setSalary(String salary) {
        this.salary = salary == null ? null : salary.trim();
    }

    public String getPositionNumber() {
        return positionNumber;
    }

    public void setPositionNumber(String positionNumber) {
        this.positionNumber = positionNumber == null ? null : positionNumber.trim();
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company == null ? null : company.trim();
    }

    public String getWorkplace() {
        return workplace;
    }

    public void setWorkplace(String workplace) {
        this.workplace = workplace == null ? null : workplace.trim();
    }

    public String getTypes() {
        return types;
    }

    public void setTypes(String types) {
        this.types = types == null ? null : types.trim();
    }

    public Date getTimes() {
        return times;
    }

    public void setTimes(Date times) {
        this.times = times;
    }

    public Integer getRecruitmentType() {
        return recruitmentType;
    }

    public void setRecruitmentType(Integer recruitmentType) {
        this.recruitmentType = recruitmentType;
    }

    public String getRecruitmentLocation() {
        return recruitmentLocation;
    }

    public void setRecruitmentLocation(String recruitmentLocation) {
        this.recruitmentLocation = recruitmentLocation == null ? null : recruitmentLocation.trim();
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact == null ? null : contact.trim();
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone == null ? null : contactPhone.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getFroms() {
        return froms;
    }

    public void setFroms(String froms) {
        this.froms = froms == null ? null : froms.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getDescribeAndRequire() {
        return describeAndRequire;
    }

    public void setDescribeAndRequire(String describeAndRequire) {
        this.describeAndRequire = describeAndRequire == null ? null : describeAndRequire.trim();
    }
}